
package modelo.dao.inter;

import java.util.List;
import java.sql.*;

public interface IGenericoDAO {
    
    public boolean cadastrar(Object obj) throws SQLException ;
    public boolean atualizar(Object obj) throws SQLException;
    public boolean excluir(Object obj) throws SQLException;
    @SuppressWarnings("rawtypes")
	public List buscarTodos() throws SQLException;
    public Object getObjetoById(Object obj) throws SQLException;
    //public Object getUltimoObjeto() throws SQLException;
    
}
